@Midway.MidwayModule({
    code: "DemoRender"
})
class DemoRender extends CommonClass {
    constructor() {
        super();
    }

    update(model) {
        console.log("this is message from demo render, method: model", model);
    }

    $launch() {
        console.log("this is message from demo render, method: launch");
    }

    $release() {
        console.log("this is message from demo render, method: release");
    }

    renderTitle(container) {
        $(container).append('<p>Message From Demo Render, This is Title</p>');
    }

    renderComment(container) {
        $(container).append('<p>Message From Demo Render, This is Comment</p>');
    }
}